﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ePlanet.ResourceRequest.Models;
using System.Data;
using ePlanet.ResourceRequest.DataAccess;
using DreamBuilder.Core.AOP.Attribute;
using DreamBuilder.Core.Message;
using DreamBuilder.Common;

namespace ePlanet.ResourceRequest.Services
{
    public interface ITempUserService : IBusiness
    {
        bool AddNewTempUser(TempUser user);
        bool UpdateUser(TempUser user);
        bool ResetPassword(TempUser.TEMPUSERRow user);
        bool DelayUser(TempUser.TEMPUSERRow user);
        TempUser GetTempUserByUserID(string userID);
        bool CheckUserLoginName(string loginName);
        void AgreeLogin(TempUser user);
        void DisAgreeLogin(TempUser user);
        bool CheckLogin(out string strMsg, out string userID, string loginName, string password);
        TempUser.TEMPUSERRow GetUser(string loginName, string password);
        DataTable GetTempUserList(TempUserStausEnum statusEnum, string exameUserID);
    }
}
